<%@ taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%--
  Created by IntelliJ IDEA.
  User: LMY
  Date: 2025/6/22
  Time: 01:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>显示妖怪信息</title>
    </head>
    <body>
    <table border="1px" width="400px" cellspacing="0">
        <tr>
            <th>id<th>
            <th>name<th>
            <th>job<th>
            <th>sal<th>
        </tr>
    <c:forEach items="${requestScope.monsters}" var="monster">
        <tr>
            <td>${monster.id}<td>
            <td>${monster.name}<td>
            <td>${monster.job}<td>
            <td>${monster.sal}<td>
        </tr>
    </c:forEach>
    </table>
    </body>
</html>
